{% extends 'blog/blog_base.html' %}
{% load blog_tags %}

{% block sub_title %}
  {% if category %}
    {{ category.description }}: 
  {% endif %}
  {{ date|date:"Y" }}
{% endblock %}

{% block page_title %}
  {% if category %}
    {{ category.description }} entries 
  {% else %}
    Entries 
  {% endif %}
  for {{ date|date:"Y" }}
{% endblock %}

{% block contents %}
  <div class="summaryList">
  {% if entries %}
    {% for entry in entries %}
        {% ifchanged %}
            <h3>{{ entry.created|date:"F, Y" }}</h3>
            <p>(<a href="{% month_archive_url entry.created.date category %}">Link</a>)
            </p>
        {% endifchanged %}
        {{ entry.created|date:"d-M" }}
        <a href="{{ entry.get_absolute_url }}">{{ entry.title }}</a><br />
    {% endfor %}
  {% else %}
    No {{ category.description }} entries for {{ date|date:"Y" }}.
  {% endif %}
  </div>
{% endblock %}
{% comment %} 
vim:sts=2 sw=2 ts=2: 
{% endcomment %}
